package com.it.myd.tool;

import com.it.myd.bean.box.UNOCard;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class UnoTool {

    public List<UNOCard> getUnoCard(int count){
        List<UNOCard> cards = new ArrayList<>();
        for (int i = 0; i < count; i++) {
            cards.add(new UNOCard());
        }
        return cards;
    }

}
